package com.niuwa.p2p.dao.claimtransfer;

import com.niuwa.p2p.dao.MyBatisDao;
import com.niuwa.p2p.entity.claimtransfer.TransApplyLog;

@MyBatisDao
public interface TransApplyLogDao {
    int deleteByPrimaryKey(Long id);

    int insert(TransApplyLog record);

    int insertSelective(TransApplyLog record);

    TransApplyLog selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(TransApplyLog record);

    int updateByPrimaryKey(TransApplyLog record);
    
    /**
     * 获取最新一条自转让表操作记录
     * @param serialNo 转让申请流水号
     * @return
     */
    TransApplyLog getNoPassInfo(String serialNo);
}